package org.fujay.langchain4jserver.application.command;

import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Data;
import org.fujay.langchain4jserver.application.dto.MessageDTO;
import org.fujay.langchain4jserver.domain.application.vo.AppId;

/**
 * 开始新对话命令
 */
@Data
@Builder
public class StartConversationCommand {

    /**
     * 应用ID (必填)
     */
    @NotNull(message = "应用ID不能为空")
    private AppId appId;

    /**
     * 初始消息 (可选)
     */
    private MessageDTO initialMessage;
}
